function submitOrder() {
	var address;
	if ($('#savedAddress').is(':checked')) {
		address = $('#savedAddress').val();
	} else {
		address = $('#name').val() + '，' + $('#phone').val() + '，' + $('#province').val() + $('#city').val() + 
					$('#area').val() + $('#address').val() + '，' + $('#postcode').val();
	}
	$('#orderAddress').val(address);
	$('#orderForm').submit();
}

$(document).ready(function() {
	$('#savedAddress').attr('checked' , 'checked');
	$('#otherAddress').removeAttr('checked');
	$('#savedAddress').change(function() {
		$('.address-input').animate({opacity:0, height:'toggle'});
	});
	$('#otherAddress').change(function() {
		$('.address-input').animate({opacity:1, height:'toggle'});
	});
});